#ifndef __CONVERT_VALUE_ENDIAN_H__
#define __CONVERT_VALUE_ENDIAN_H__
#include <typescommon.h>

uint16_t convertOvtBigSysI16(int16_t value);
#define convertOvtBigSysI16Pro(value) value = convertOvtBigSysI16(value)

uint16_t convertOvtLitSysI16(int16_t value);
#define convertOvtLitSysI16Pro(value) value = convertOvtLitSysI16(value)

uint32_t convertOvtBigSysI32(uint32_t value);
#define convertOvtBigSysI32Pro(value) value = convertOvtBigSysI32(value)

uint32_t convertOvtLitSysI32(uint32_t value);
#define convertOvtLitSysI32Pro(value) value = convertOvtLitSysI32(value)

float convertOvtBigSysFloat(float value);
#define convertOvtBigSysFloatPro(value) value = convertOvtBigSysFloat(value)

float convertOvtLitSysFloat(float value);
#define convertOvtLitSysFloatPro(value) value = convertOvtLitSysFloat(value)

#if DEVICE_PLATFORM_CONFIGURE != DEVICE_PLATFORM_C51_MCU
uint64_t convertOvtBigSysI64(uint64_t value);
#define convertOvtBigSysI64Pro(value) value = convertOvtBigSysI64(value)

uint64_t convertOvtLitSysI64(uint64_t value);
#define convertOvtLitSysI64Pro(value) value = convertOvtLitSysI64(value)

double convertOvtBigSysDouble(double value);
#define convertOvtBigSysDoublePro(value) value = convertOvtBigSysDouble(value)

double convertOvtLitSysDouble(double value);
#define convertOvtLitSysDoublePro(value) value = convertOvtLitSysDouble(value)
#endif

#endif